package product.service;


import product.votmp.item.SkuInfoVo;
import product.votmp.list.ListVo;
import product.votmp.list.SearchParamsVo;

import java.util.concurrent.ExecutionException;

public interface TempService {

    /**
     * 获取商品列表
     *
     * @param searchParamsVo
     * @return
     */
    ListVo getSearchInfo(SearchParamsVo searchParamsVo);

    /**
     * 根据商品id获取商品商品详情
     *
     * @param skuId
     * @return
     */
    SkuInfoVo getBySkuId(Long skuId) throws ExecutionException, InterruptedException;
}
